package club.kunlingou.dsc.book.domain;

import org.springframework.data.elasticsearch.annotations.Document;

import club.kunlingou.dsc.common.domain.BaseEntity;

@Document(indexName = "product", type = "book")
public class Book extends BaseEntity{
	
	private String title;
	
	private String author;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}
	
}
